<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>导航栏</title>

    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css">
    <link href="/css/common.css">
    <style>
        /* 卡片样式 */

    </style>
</head>
<body>

<!-- 原有HTML结构完全保持不变 -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark" th:fragment="topbar">
    <div class="container">
        <a class="navbar-brand" href="#">汽车维修与客户信息管理系统 - 管理员</a>
        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarNav">
            <ul class="navbar-nav">
                <li class="nav-item">
                    <a class="nav-link" th:href="@{/chart/refresh}">首页</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" th:href="@{/customer/findAll}">客户信息管理</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" th:href="@{/vehicle/lists}">车辆信息管理</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="/repair/list">车辆维修记录管理</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="/admin/list">管理员信息管理</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" th:href="@{/chart/getBrandLim5}">数据统计分析</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" th:href="@{/location/getLocation}">定位模块</a>
                </li>
            </ul>
            <ul class="navbar-nav ms-auto">
                <li class="nav-item">
                    <span class="nav-link" th:text="${session.username}">用户名</span>
                </li>
                <li class="nav-item">
                    <a class="nav-link" th:href="@{/logout}">退出登录</a>
                </li>
            </ul>
        </div>
    </div>
</nav>

<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
